home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / pine3.96.tar.gz / pine3.96.tar / pine3.96 / pico / os_vms.h < prev    next >
C/C++ Source or Header  |  1996-03-15  |  2KB  |  97 lines

  1. /*
  2.  * $Id: os_vms.h,v 1.6 1996/03/15 07:41:11 hubert Exp $
  3.  *
  4.  * Program:    Operating system dependent routines - VMS 5.n
  5.  *
  6.  *
  7.  * Yehavi Bourvine
  8.  * Hebrew University of Jeruselem
  9.  * +972-2-585684
  10.  * YEHAVI@vms.huji.ac.il
  11.  *
  12.  * Please address all bugs and comments to "pine-bugs@cac.washington.edu"
  13.  *
  14.  *
  15.  * Pine and Pico are registered trademarks of the University of Washington.
  16.  * No commercial use of these trademarks may be made without prior written
  17.  * permission of the University of Washington.
  18.  * 
  19.  * Pine, Pico, and Pilot software and its included text are Copyright
  20.  * 1989-1996 by the University of Washington.
  21.  * 
  22.  * The full text of our legal notices is contained in the file called
  23.  * CPYRIGHT, included with this distribution.
  24.  */
  25.  
  26. #ifndef    OSDEP_H
  27. #define    OSDEP_H
  28.  
  29. #include    <string.h>
  30.  
  31. #undef    CTRL
  32. #include    <signal.h>
  33.  
  34. #include    <ctype.h>
  35. #include    <types.h>
  36.  
  37. #include    <stat.h>
  38.  
  39. /*
  40.  * type qsort() expects
  41.  */
  42. #define    QSType      int
  43. #define QcompType void
  44.  
  45. /*
  46.  * File name separator, as a char and string
  47.  */
  48. #define    C_FILESEP    '/'
  49. #define    S_FILESEP    ""
  50.  
  51. /*
  52.  * Place where mail gets delivered (for pico's new mail checking)
  53.  */
  54. #define    MAILDIR        "SYS$LOGIN:"
  55.  
  56.  
  57. /*
  58.  * What and where the tool that checks spelling is located.  If this is
  59.  * undefined, then the spelling checker is not compiled into pico.
  60.  */
  61. #define SPELLER         "$ SPELL"
  62.  
  63. /* memcpy() is no good for overlapping blocks.  If that's a problem, use
  64.  * the memmove() in ../c-client
  65.  */
  66. #define bcopy(a,b,s) memmove (b, a, s)
  67.  
  68. #ifdef    0
  69. /* now defined in pico.h and edef.h */
  70. typedef struct  KBSTREE {
  71.     char    value;
  72.         int     func;              /* Routine to handle it         */
  73.     struct    KBSTREE *down; 
  74.     struct    KBSTREE    *left;
  75. } KBESC_T;
  76.  
  77. extern KBESC_T *pico_kbesc;
  78. extern int kbseq();
  79. #endif    /* no longer needed */
  80.  
  81.  
  82. extern char *getcwd(char *, int);
  83.  
  84. #ifdef ANSI_DRIVER
  85. #define    NROW    24
  86. #define    NCOL    80
  87. #endif
  88.  
  89. #define ttputc __ttputc
  90.  
  91. /*
  92.  * Mode passed chmod() to make tmp files exclusively user read/write-able
  93.  */
  94. #define    MODE_READONLY    (0600)
  95.  
  96. #endif    /* OSDEP_H */
  97.